<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			//匿名函数
			window.setTimeout(function(){
				location="https://www.baidu.com";
			},10000);
			
		</script>
	</head>
	<body>
		<h1>
			进入成功了
		</h1>
	</body>
</html>

